package org.testing.model;

public class User {
	private String name;
	private Boolean isAdmin = false;

	public String getName() {
		return name;
	}
	
	public Boolean isAdmin() {
		return this.isAdmin;
	}
	
	protected User(String login) {
		this.name = login;
	} 
	
	protected void setAdmin(Boolean factor) {
		this.isAdmin = factor;
	}
	
	private User() {
		
	}
}
